# Maintainer: Alexey Pavlov <alexpux@gmail.com>

pkgname=sshpass
pkgver=1.06
pkgrel=1
pkgdesc='Fool ssh into accepting an interactive password non-interactively'
arch=('i686' 'x86_64')
url='https://sourceforge.net/projects/sshpass/'
groups=('net-utils')
license=('GPL')
depends=('openssh')
source=("https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
sha256sums=('c6324fcee608b99a58f9870157dfa754837f8c48be3df0f5e2f3accf145dee60')

build() {
  cd $pkgname-$pkgver
  ./configure --build=${CHOST} --prefix=/usr
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}
